/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.CPUAplic;
import br.gov.cemaden.library.model.smp.ExecAplic;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface CPUAplicInterface {
    List<CPUAplic>findAll();
    CPUAplic findById(Long id);
    List<CPUAplic> findByCPUUsage(Double cpuUsage);
    List<CPUAplic> findByExecAplic(ExecAplic execAplic);
    CPUAplic insert(CPUAplic cpuAplic);
    CPUAplic update(CPUAplic cpuAplic);
    void delete(CPUAplic cpuAplic);  
}
